import { reactive } from "vue";
import type { FormRules } from "element-plus";

/** 自定义表单规则校验 */
export const formRules = reactive(<FormRules>{
  park_name: [{ required: true, message: "请选择停车场名称", trigger: "blur" }],
  car_number: [{ required: true, message: "请填写车牌号", trigger: "blur" }],
  question: [{ required: true, message: "请填写问题描述", trigger: "blur" }]
});
